import React, { useEffect } from 'react';
import { getADInfo } from '@/apis/advert';
import Layout from '@/pages/component/Layout';
import ScheduleBudget from '@/pages/component/ScheduleBudget';
import PropTypes from 'prop-types'


export default function edit(props:any) {
  useEffect(() => {
    getADInfo(props.children.props.location.query.id).then((res) => {
      console.log('res: ', res);
    });
  }, []);

  return (
    <div>
      <Layout></Layout>
      <ScheduleBudget></ScheduleBudget>
      {/* 版位 */}
    </div>
  );
}
